package com.zzyl.mapper;


import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectMapper {
    Page<NursingProject> selectByPage(String name, Integer status);

    void add(NursingProject nursingProject);

    NursingProject getById(Long id);

    void update(NursingProject nursingProject);

    void setStatus(Long id, Integer status);

    List<NursingProjectVo> findAll();
}
